﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
namespace maintest {
    class DllLoad {
        [DllImport("libtestcpp.dll", EntryPoint = "Add", CharSet = CharSet.Ansi)]
        public static extern int Add(int a, int b);

    }
}
